package com.cd.service.reply;

import java.util.List;


import com.cd.bean.Reply;

/**
 * 留言回复
 *@Author hxy
 *@Date 2018-1-25
 */
public interface ReplyService {
	/**
	 * 新增
	 * @param reply
	 */
	public void save(Reply reply)throws Exception;
	/**
	 * 查询列表
	 * @return
	 * @throws Exception
	 */
	public List<Reply> listAll()throws Exception;
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	public Reply findById(Integer id)throws Exception;
	/**
	 * 根据id删除
	 * @param id
	 * @throws Exception
	 */
	public void delete(Integer id)throws Exception;
	/**
	 * 修改
	 * @param reply
	 * @throws Exception
	 */
	public void edit(Reply reply)throws Exception;
	
}
